Nanonets Scope
AutomatR.Nanonets.Activities.NanonetsScope
The "Nanonets Scope" activity in AutomatR provides a scope for executing activities related to the Nanonets service. This activity is crucial for managing the authentication and authorization details required for interacting with Nanonets API services. It encapsulates a sequence of activities within the Nanonets scope, ensuring proper authentication before executing the enclosed activities.
Properties
Name | Description |
---|---|
Input | |
API Token | Allows you to enter the API token (or API key) used for authentication and authorization with the Nanonets API services. This token enables you to make API requests and interact with the Nanonets models. String variables containing the Nanonets API token. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Nanonets Scope" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
None | The "Nanonets Scope" activity does not produce any specific output variables. However, it sets the API token in the workflow context properties for use in enclosed Nanonets activities. |
How to use:
- Drag and drop the "Nanonets Scope" activity onto the workflow.
- Configure the properties by specifying the API token for Nanonets authentication.
- Optionally, configure the delay.
- Enclose the activities related to Nanonets within the scope of the "Nanonets Scope" activity.
- Execute the workflow, ensuring proper authentication with Nanonets before executing the enclosed activities.
Example: Consider an example where the "Nanonets Scope" activity is used to authenticate with Nanonets using the API token "xyz123" with a delay of 3 seconds:
Nanonets Scope:
Display Name: "Nanonets Authentication"
API Token: "xyz123"
Delay: 3
(Enclosed Nanonets Activities)
In this example, the "Nanonets Scope" activity authenticates with Nanonets using the API token "xyz123" with a delay of 3 seconds. The enclosed Nanonets activities can now interact with Nanonets API services using the authenticated token.